-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update module github.com/ReneKroon/ttlcache/v2 to v3 #36209
base: main
Are you sure you want to change the base?
Conversation
|
Pinging code owners for receiver/googlecloudspanner: @dashpole @dsimil @KiranmayiB @harishbohara11. |
@dsimil thanks for reviewing, this upgrade will need some code changes to update the imports to use the v3 cache |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
f314ec9
to
c4ff0c9
Compare
This PR contains the following updates:
v2.11.0
->v3.3.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
ReneKroon/ttlcache (github.com/ReneKroon/ttlcache/v2)
v3.3.0
Compare Source
What's Changed
RangeBackwards
method by @k1LoW in https://github.com/jellydator/ttlcache/pull/149Len
method by counting expired items in expiration queue by @hongkuancn in https://github.com/jellydator/ttlcache/pull/150New Contributors
Full Changelog: jellydator/ttlcache@v3.2.1...v3.3.0
v3.2.1
Compare Source
What's Changed
Items
method by @hongkuancn in https://github.com/jellydator/ttlcache/pull/146New Contributors
Full Changelog: jellydator/ttlcache@v3.2.0...v3.2.1
v3.2.0
Compare Source
What's Changed
Full Changelog: jellydator/ttlcache@v3.1.1...v3.2.0
v3.1.1
Compare Source
Fix a bug in the
Range
method that causes a panic when the cache is emptyv3.1.0
Compare Source
Notable changes:
GetOrSet
andGetAndDelete
methods to theCache
type (@Savid, @DoubleDi)Has
method to theCache
type (@gozeloglu)Version
method to theItem
type (@gozeloglu)Range
method to theCache
type (@gozeloglu)v3.0.1
Compare Source
Add a SupressedLoader initialization function (https://github.com/jellydator/ttlcache/issues/86)
v3.0.0
Compare Source
The version 3 of ttlcache includes many breaking changes, some of which improve the general usability and readability of the code, while others extend the current API with new Go features (mainly type parameters). The most notable of these additions/changes are:
Item
type that is returned by bothGet
andSet
methods.Close()
method.Purge()
method toDeleteAll()
.New
function that now accepts functional options. It also doesn't start the automatic expired item deletion process: theStart()
method needs to be explicitly called for it to be activated.Loader
interface.All new or updated types and functions can be found on the documentation, README, or v3 issue page.
v2.11.1
Compare Source
The v2 module path has been changed.
Configuration
📅 Schedule: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.